package com.demo.zyt.modules.app.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.demo.zyt.common.utils.PageUtils;
import com.demo.zyt.common.utils.Query;

import com.demo.zyt.modules.app.dao.CollegeBaseDao;
import com.demo.zyt.modules.app.entity.CollegeBaseEntity;
import com.demo.zyt.modules.app.service.CollegeBaseService;


@Service("collegeBaseService")
public class CollegeBaseServiceImpl extends ServiceImpl<CollegeBaseDao, CollegeBaseEntity> implements CollegeBaseService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<CollegeBaseEntity> page = this.selectPage(
                new Query<CollegeBaseEntity>(params).getPage(),
                new EntityWrapper<CollegeBaseEntity>()
        );

        return new PageUtils(page);
    }

}
